package com.example.themeleaf.dao;

import com.example.themeleaf.entity.SenseData;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface SenseDataMapper {
    int deleteByPrimaryKey(String taskid);

    int insert(SenseData record);

    List<SenseData> selectByPrimaryKey(String taskid);
    SenseData selectByTaskAndUser(String taskid, String userid);
    List<SenseData> selectAll();

    int updateByPrimaryKey(SenseData record);
}
